package org.example.commonapi.domain.onlineCode;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Document(collection = "rank_for_oj")
public class RankForOj {
    private String id;
    private String username;
    @Field("nike_name")
    private String nikeName;
    @Field("head_img")
    private String headImg;
    @Field("question_id")
    private String  questionId;
    @Field("submit_num")
    private String submitNum;
    private Integer time;
    private Integer memory;
    @Field("run_time")
    private Integer runTime;
}
